package com.ztjy.sys.dao;

import com.ztjy.bean.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {
    int deleteByPrimaryKey(Integer deptId);

    int insert(Dept record);

    boolean insertSelective(Dept record);

    List<Dept> selectAllDept(Dept dept);

    Dept findDeptById(Integer deptId);

    boolean updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
}